<template>
  <view class="profile-container">
    <view class="header">
      <view class="avatar">
        <image src="/static/logo.png" mode="aspectFill"></image>
      </view>
      <view class="user-info">
        <text class="username">学习用户</text>
        <text class="user-desc">好好学习，天天向上</text>
      </view>
    </view>
    <view class="content">
      <view class="card">
        <text class="card-title">个人设置</text>
        <text class="card-content">管理您的账号和应用设置</text>
      </view>
      <view class="card">
        <text class="card-title">学习统计</text>
        <text class="card-content">查看您的学习进度和成就</text>
      </view>
    </view>
  </view>
</template>

<script>
export default {
  name: 'ProfilePage',
  data() {
    return {
      // 页面数据
    };
  },
  onLoad() {
    // 页面加载时执行
  },
  methods: {
    // 页面方法
  }
};
</script>

<style scoped>
.profile-container {
  padding: 20rpx;
  height: 100vh;
  background-color: #f5f5f5;
}

.header {
  padding: 40rpx 0;
  text-align: center;
  margin-bottom: 30rpx;
}

.avatar {
  width: 160rpx;
  height: 160rpx;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 20rpx;
  background-color: #fff;
}

.avatar image {
  width: 100%;
  height: 100%;
}

.user-info {
  text-align: center;
}

.username {
  font-size: 36rpx;
  font-weight: bold;
  color: #333;
  display: block;
  margin-bottom: 10rpx;
}

.user-desc {
  font-size: 28rpx;
  color: #666;
}

.content {
  display: flex;
  flex-direction: column;
  gap: 20rpx;
}

.card {
  background-color: #fff;
  padding: 30rpx;
  border-radius: 10rpx;
  box-shadow: 0 2rpx 10rpx rgba(0, 0, 0, 0.1);
}

.card-title {
  font-size: 32rpx;
  font-weight: bold;
  color: #333;
  margin-bottom: 10rpx;
  display: block;
}

.card-content {
  font-size: 28rpx;
  color: #666;
}
</style>